package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @author: xuesm
 * @date: 2025/1/13 21:33
 */
@Data
public class SkuItemVo {

    // 1. sku 基本信息获取， pms_sku_info
    SkuInfoEntity info;

    boolean hasStock = true;

    // 2. sku 图片信息      pms_sku_images
    List<SkuImagesEntity> images;

    // 3. 获取spu销售属性集合
    List<SkuItemSaleAttrVo> saleAttr;

    // 4. 获取spu介绍
    SpuInfoDescEntity desp;
    // 5. 获取spu规格参数信息
    List<SpuItemAttrGroupVo>  groupAttrs;

    // 6. 秒杀优惠信息
    private SecKillInfoVo secKillInfo;
}
